home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
programs
/
vote52.zip
/
VOTELANG.ZIP
/
LANGUAGE.DOC
< prev
Wrap
Text File
|
1992-03-04
|
2KB
|
68 lines
-=( Language support )=-
Languagefile version 1.00
LangComp
========
LangComp is used to compiler the language definition files into datafiles
usable by the program.
Usage is simple:
LangComp DUTCH.DEF
for a single file or
LangComp *.DEF
for all the language files in the directory.
DON'T change numbers in the DEF file. In that case the program can't find
the strings anymore... Make sure the strings are enclosed between ""
and don't use the ^ for anything else as colorcodes!
Help files:
===========
If you make a new language file, you probably want a new helpfile for that
language to. Look at the language files in the package to see how to built
them.
You can also use language strings and color codes in the helpfile.
The language strings are handy for f.e. menu strings. If you change the
language file, the helpfile changes accordingly.. Colors are always nice for
headers and such.
There's one special token in the language file. the $$ combination (which has
to appear on an otherwise empty line) stops the help and askes to press enter
or stop. If you don't use it, the program just counts lines and stops anyhow
at every 24 characters. This one is nicer to look at. (and a way to ensure
that colors are what they should be, the current textcolor is NOT stored
for a new page!!)
The naming convention for my doors is <PROGNAME>HELP.<Language ID>
so for PONG, a helpfile for GERman should be named PONGHELP.GER
HI and BYE files:
=================
These files are shown before the door is started and after the user leaves
the door. The naming convention is:
HI_<LanguageID>.<ASC/ANS/AVT>
BYE_<LanguageIF>.<ASC/ANS/AVT>
So the introfile for German PONG should be called: HI_GER.ANS/ASC/AVT
and the bye file: BYE_GER.ANS/ASC/AVT
They should also be in the same directory as the EXE file or in the directory
where the <PROGNAME>= environment variable is stored.